package com.shcowin.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Entity;

@Entity
public class Products implements Serializable {

	private static final long serialVersionUID = -7970848646314840509L;

	private int id;
	
	private String name ="";
	
	private String picName = "";
	
	private String picPath = ""; 
	
	private int size;
	
	private Date uploadDate = new Date();
	
	private int mark;
	
	/**
	 * 首页图片标记
	 */
	private int homeMark = 0;
	
	private String feature = "";
	
	private String remark = "";

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPicName() {
		return picName;
	}

	public void setPicName(String picName) {
		this.picName = picName;
	}

	public String getPicPath() {
		return picPath;
	}

	public void setPicPath(String picPath) {
		this.picPath = picPath;
	}

	public int getSize() {
		return size;
	}

	public void setSize(int size) {
		this.size = size;
	}

	public Date getUploadDate() {
		return uploadDate;
	}

	public void setUploadDate(Date uploadDate) {
		this.uploadDate = uploadDate;
	}

	public int getMark() {
		return mark;
	}

	public void setMark(int mark) {
		this.mark = mark;
	}

	public String getFeature() {
		return feature;
	}

	public void setFeature(String feature) {
		this.feature = feature;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}
	
	@Override
	public String toString() {
		return this.id + "#" + this.name + "#";
	}

	public int getHomeMark() {
		return homeMark;
	}

	public void setHomeMark(int homeMark) {
		this.homeMark = homeMark;
	}

}